﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Blizzard.Container
{
    class RelationDefinition
    {
        TypeRole _typeRole1;
        TypeRole _typeRole2;

        public RelationDefinition(TypeRole typeRole1 , TypeRole typeRole2)
        {
             _typeRole1 = typeRole1;
             _typeRole2 = typeRole2;
        }

        public TypeRole TypeRole1
        {
            get { return _typeRole1; }
        }

        public TypeRole TypeRole2
        {
            get { return _typeRole2; }
        }

        public RelationSort Relation{get;set;}

        public string RelationTable { get; set; }

    }
}
